home *** CD-ROM | disk | FTP | other *** search
/ Info-Mac 4 / Info_Mac IV CD-ROM (Pacific HiTech Inc.)(August 1994).iso / Development / Information / TCFS Folder / Think C⁄C++ From Scratch / Think C_C++ From Scratch / background_4755.xml < prev    next >
Extensible Markup Language  |  1994-02-10  |  31KB  |  829 lines

  1. <?xml version="1.0" encoding="utf-8" ?>
  2. <!DOCTYPE background PUBLIC "-//Apple, Inc.//DTD background V 2.0//EN" "" >
  3. <background>
  4.     <id>4755</id>
  5.     <filler1>0</filler1>
  6.     <bitmap>BMAP_3717.pbm</bitmap>
  7.     <cantDelete> <false /> </cantDelete>
  8.     <showPict> <true /> </showPict>
  9.     <dontSearch> <false /> </dontSearch>
  10.     <link rel="stylesheet" type="text/css" href="stylesheet_7572.css" />
  11.     <part>
  12.         <id>1</id>
  13.         <type>button</type>
  14.         <visible> <true /> </visible>
  15.         <reserved5> 0 </reserved5>
  16.         <reserved4> 0 </reserved4>
  17.         <reserved3> 0 </reserved3>
  18.         <reserved2> 0 </reserved2>
  19.         <reserved1> 0 </reserved1>
  20.         <enabled> <true /> </enabled>
  21.         <rect>
  22.             <left>424</left>
  23.             <top>314</top>
  24.             <right>453</right>
  25.             <bottom>337</bottom>
  26.         </rect>
  27.         <style>transparent</style>
  28.         <showName> <false /> </showName>
  29.         <highlight> <false /> </highlight>
  30.         <autoHighlight> <false /> </autoHighlight>
  31.         <sharedHighlight> <true /> </sharedHighlight>
  32.         <family>0</family>
  33.         <titleWidth>0</titleWidth>
  34.         <icon>1014</icon>
  35.         <textAlign>center</textAlign>
  36.         <font>Chicago</font>
  37.         <textSize>12</textSize>
  38.         <textStyle>plain</textStyle>
  39.         <name></name>
  40.         <script>on mouseDownglobal alreadyPagedput false into alreadyPagedpass mouseDownend mouseDownon mouseStillDownglobal alreadyPagedwait 10visual effect scroll rightput true into alreadyPagedgo to previous cardend mouseStillDownon mouseUpglobal alreadyPagedif alreadyPaged is false thenvisual effect scroll rightgo to previous cardend ifend mouseUp</script>
  41.     </part>
  42.     <part>
  43.         <id>2</id>
  44.         <type>button</type>
  45.         <visible> <true /> </visible>
  46.         <reserved5> 0 </reserved5>
  47.         <reserved4> 0 </reserved4>
  48.         <reserved3> 0 </reserved3>
  49.         <reserved2> 0 </reserved2>
  50.         <reserved1> 0 </reserved1>
  51.         <enabled> <true /> </enabled>
  52.         <rect>
  53.             <left>480</left>
  54.             <top>314</top>
  55.             <right>508</right>
  56.             <bottom>337</bottom>
  57.         </rect>
  58.         <style>transparent</style>
  59.         <showName> <false /> </showName>
  60.         <highlight> <false /> </highlight>
  61.         <autoHighlight> <false /> </autoHighlight>
  62.         <sharedHighlight> <true /> </sharedHighlight>
  63.         <family>0</family>
  64.         <titleWidth>0</titleWidth>
  65.         <icon>1013</icon>
  66.         <textAlign>center</textAlign>
  67.         <font>Chicago</font>
  68.         <textSize>12</textSize>
  69.         <textStyle>plain</textStyle>
  70.         <name></name>
  71.         <script>on mouseDownglobal alreadyPagedput false into alreadyPagedpass mouseDownend mouseDownon mouseStillDownglobal alreadyPagedwait 10visual effect scroll leftput true into alreadyPagedgo to next cardend mouseStillDownon mouseUpglobal alreadyPagedif alreadyPaged is false thenvisual effect scroll leftgo to next cardend ifend mouseUp</script>
  72.     </part>
  73.     <part>
  74.         <id>3</id>
  75.         <type>button</type>
  76.         <visible> <false /> </visible>
  77.         <reserved5> 0 </reserved5>
  78.         <reserved4> 0 </reserved4>
  79.         <reserved3> 0 </reserved3>
  80.         <reserved2> 0 </reserved2>
  81.         <reserved1> 0 </reserved1>
  82.         <enabled> <true /> </enabled>
  83.         <rect>
  84.             <left>400</left>
  85.             <top>316</top>
  86.             <right>427</right>
  87.             <bottom>339</bottom>
  88.         </rect>
  89.         <style>transparent</style>
  90.         <showName> <false /> </showName>
  91.         <highlight> <false /> </highlight>
  92.         <autoHighlight> <false /> </autoHighlight>
  93.         <sharedHighlight> <true /> </sharedHighlight>
  94.         <family>0</family>
  95.         <titleWidth>0</titleWidth>
  96.         <icon>1012</icon>
  97.         <textAlign>center</textAlign>
  98.         <font>Chicago</font>
  99.         <textSize>12</textSize>
  100.         <textStyle>plain</textStyle>
  101.         <name>return</name>
  102.         <script>on mouseUpglobal xrefdepthsubtract 1 from xrefdepthif xrefdepth = 0 thenhide background button "return"end ifvisual effect iris closepop cardend mouseUp</script>
  103.     </part>
  104.     <part>
  105.         <id>4</id>
  106.         <type>field</type>
  107.         <visible> <true /> </visible>
  108.         <dontWrap> <false /> </dontWrap>
  109.         <dontSearch> <false /> </dontSearch>
  110.         <sharedText> <false /> </sharedText>
  111.         <fixedLineHeight> <false /> </fixedLineHeight>
  112.         <autoTab> <false /> </autoTab>
  113.         <lockText> <true /> </lockText>
  114.         <rect>
  115.             <left>14</left>
  116.             <top>60</top>
  117.             <right>494</right>
  118.             <bottom>304</bottom>
  119.         </rect>
  120.         <style>transparent</style>
  121.         <autoSelect> <false /> </autoSelect>
  122.         <showLines> <false /> </showLines>
  123.         <wideMargins> <false /> </wideMargins>
  124.         <multipleLines> <false /> </multipleLines>
  125.         <reservedFamily> 0 </reservedFamily>
  126.         <titleWidth>0</titleWidth>
  127.         <icon>0</icon>
  128.         <textAlign>left</textAlign>
  129.         <font>Palatino</font>
  130.         <textSize>12</textSize>
  131.         <textStyle>plain</textStyle>
  132.         <textHeight>16</textHeight>
  133.         <name>text</name>
  134.         <script></script>
  135.     </part>
  136.     <part>
  137.         <id>6</id>
  138.         <type>field</type>
  139.         <visible> <true /> </visible>
  140.         <dontWrap> <false /> </dontWrap>
  141.         <dontSearch> <false /> </dontSearch>
  142.         <sharedText> <false /> </sharedText>
  143.         <fixedLineHeight> <true /> </fixedLineHeight>
  144.         <autoTab> <false /> </autoTab>
  145.         <lockText> <true /> </lockText>
  146.         <rect>
  147.             <left>14</left>
  148.             <top>29</top>
  149.             <right>348</right>
  150.             <bottom>57</bottom>
  151.         </rect>
  152.         <style>transparent</style>
  153.         <autoSelect> <false /> </autoSelect>
  154.         <showLines> <false /> </showLines>
  155.         <wideMargins> <false /> </wideMargins>
  156.         <multipleLines> <false /> </multipleLines>
  157.         <reservedFamily> 0 </reservedFamily>
  158.         <titleWidth>0</titleWidth>
  159.         <icon>0</icon>
  160.         <textAlign>left</textAlign>
  161.         <font>Palatino</font>
  162.         <textSize>18</textSize>
  163.         <textStyle>plain</textStyle>
  164.         <textHeight>24</textHeight>
  165.         <name>heading</name>
  166.         <script>on closeFieldif cardInContents() thenput the userLevel into currentLevelset the userLevel to 5set lockScreen to truedoMenu "New Field"put the number of card fields into numFieldschoose browse toolset the style of card field numFields to shadowput "Updating Table of Contents." & numToChar(13) & "Please wait..."¬¨into card field numFieldsset lockScreen to falsesend updateContents to card "contents"set lockScreen to truechoose field toolclick at the loc of card field numFieldsdoMenu "Clear Field"choose browse toolset lockScreen to falseset the userLevel to currentLevelend ifpass closeFieldend closeFieldfunction cardInContentsset the cursor to watchget word 3 of the id of this cardput false into inContentsrepeat with x = 1 to the number of lines in card field "content list"¬¨of card "contents"if (line x of card field "content list" of card "contents") is it thenput true into inContentsend ifend repeatreturn inContentsend cardInContents</script>
  167.     </part>
  168.     <part>
  169.         <id>7</id>
  170.         <type>field</type>
  171.         <visible> <true /> </visible>
  172.         <dontWrap> <false /> </dontWrap>
  173.         <dontSearch> <false /> </dontSearch>
  174.         <sharedText> <false /> </sharedText>
  175.         <fixedLineHeight> <false /> </fixedLineHeight>
  176.         <autoTab> <false /> </autoTab>
  177.         <lockText> <true /> </lockText>
  178.         <rect>
  179.             <left>461</left>
  180.             <top>33</top>
  181.             <right>494</right>
  182.             <bottom>51</bottom>
  183.         </rect>
  184.         <style>transparent</style>
  185.         <autoSelect> <false /> </autoSelect>
  186.         <showLines> <false /> </showLines>
  187.         <wideMargins> <false /> </wideMargins>
  188.         <multipleLines> <false /> </multipleLines>
  189.         <reservedFamily> 0 </reservedFamily>
  190.         <titleWidth>0</titleWidth>
  191.         <icon>0</icon>
  192.         <textAlign>right</textAlign>
  193.         <font>Palatino</font>
  194.         <textSize>12</textSize>
  195.         <textStyle>plain</textStyle>
  196.         <textHeight>16</textHeight>
  197.         <name>page no</name>
  198.         <script></script>
  199.     </part>
  200.     <part>
  201.         <id>8</id>
  202.         <type>button</type>
  203.         <visible> <true /> </visible>
  204.         <reserved5> 0 </reserved5>
  205.         <reserved4> 0 </reserved4>
  206.         <reserved3> 0 </reserved3>
  207.         <reserved2> 0 </reserved2>
  208.         <reserved1> 0 </reserved1>
  209.         <enabled> <true /> </enabled>
  210.         <rect>
  211.             <left>8</left>
  212.             <top>311</top>
  213.             <right>39</right>
  214.             <bottom>334</bottom>
  215.         </rect>
  216.         <style>transparent</style>
  217.         <showName> <false /> </showName>
  218.         <highlight> <false /> </highlight>
  219.         <autoHighlight> <false /> </autoHighlight>
  220.         <sharedHighlight> <true /> </sharedHighlight>
  221.         <family>0</family>
  222.         <titleWidth>0</titleWidth>
  223.         <icon>13081</icon>
  224.         <textAlign>center</textAlign>
  225.         <font>Chicago</font>
  226.         <textSize>12</textSize>
  227.         <textStyle>plain</textStyle>
  228.         <name>Contents</name>
  229.         <script>on mouseUpvisual iris closego card "contents"end mouseUp</script>
  230.     </part>
  231.     <part>
  232.         <id>9</id>
  233.         <type>button</type>
  234.         <visible> <true /> </visible>
  235.         <reserved5> 0 </reserved5>
  236.         <reserved4> 0 </reserved4>
  237.         <reserved3> 0 </reserved3>
  238.         <reserved2> 0 </reserved2>
  239.         <reserved1> 0 </reserved1>
  240.         <enabled> <true /> </enabled>
  241.         <rect>
  242.             <left>453</left>
  243.             <top>313</top>
  244.             <right>476</right>
  245.             <bottom>337</bottom>
  246.         </rect>
  247.         <style>transparent</style>
  248.         <showName> <false /> </showName>
  249.         <highlight> <false /> </highlight>
  250.         <autoHighlight> <false /> </autoHighlight>
  251.         <sharedHighlight> <true /> </sharedHighlight>
  252.         <family>0</family>
  253.         <titleWidth>0</titleWidth>
  254.         <icon>0</icon>
  255.         <textAlign>center</textAlign>
  256.         <font>Chicago</font>
  257.         <textSize>12</textSize>
  258.         <textStyle>plain</textStyle>
  259.         <name>book</name>
  260.         <script>on mouseUp-- Actually, to be really consistent we should update the bookmarks-- of ALL pages here, so that when you Print Report they are all-- correct.  However, this would slow things down for the reader.global bookmark1global bookmark2get the id of this cardif bookmark1 = 0 thenput it into bookmark1updateBookmarks (the number of this card)show background button "bookmark1"show field "bookmark1"send showBookmarkselseif bookmark2 = 0 thenput it into bookmark2updateBookmarks (the number of this card)show background button "bookmark2"show field "bookmark2"send showBookmarkselseanswer "Out of bookmarks!" with "OK"end ifend ifend mouseUp</script>
  261.     </part>
  262.     <part>
  263.         <id>11</id>
  264.         <type>button</type>
  265.         <visible> <false /> </visible>
  266.         <reserved5> 0 </reserved5>
  267.         <reserved4> 0 </reserved4>
  268.         <reserved3> 0 </reserved3>
  269.         <reserved2> 0 </reserved2>
  270.         <reserved1> 0 </reserved1>
  271.         <enabled> <true /> </enabled>
  272.         <rect>
  273.             <left>451</left>
  274.             <top>313</top>
  275.             <right>476</right>
  276.             <bottom>337</bottom>
  277.         </rect>
  278.         <style>transparent</style>
  279.         <showName> <false /> </showName>
  280.         <highlight> <false /> </highlight>
  281.         <autoHighlight> <false /> </autoHighlight>
  282.         <sharedHighlight> <true /> </sharedHighlight>
  283.         <family>0</family>
  284.         <titleWidth>0</titleWidth>
  285.         <icon>18951</icon>
  286.         <textAlign>center</textAlign>
  287.         <font>Chicago</font>
  288.         <textSize>12</textSize>
  289.         <textStyle>plain</textStyle>
  290.         <name>mark</name>
  291.         <script>on mouseUpglobal bookmark1global bookmark2get the id of this cardif it is bookmark1 thenput 0 into bookmark1hide background button "bookmark1"hide field "bookmark1"end ifif it is bookmark2 thenput 0 into bookmark2hide background button "bookmark2"hide field "bookmark2"end ifupdateBookmarks (the number of this card)send showBookmarksend mouseUp</script>
  292.     </part>
  293.     <part>
  294.         <id>17</id>
  295.         <type>field</type>
  296.         <visible> <false /> </visible>
  297.         <dontWrap> <false /> </dontWrap>
  298.         <dontSearch> <false /> </dontSearch>
  299.         <sharedText> <false /> </sharedText>
  300.         <fixedLineHeight> <true /> </fixedLineHeight>
  301.         <autoTab> <false /> </autoTab>
  302.         <lockText> <true /> </lockText>
  303.         <rect>
  304.             <left>366</left>
  305.             <top>326</top>
  306.             <right>399</right>
  307.             <bottom>340</bottom>
  308.         </rect>
  309.         <style>rectangle</style>
  310.         <autoSelect> <false /> </autoSelect>
  311.         <showLines> <false /> </showLines>
  312.         <wideMargins> <false /> </wideMargins>
  313.         <multipleLines> <false /> </multipleLines>
  314.         <reservedFamily> 0 </reservedFamily>
  315.         <titleWidth>0</titleWidth>
  316.         <icon>0</icon>
  317.         <textAlign>center</textAlign>
  318.         <font>Monaco</font>
  319.         <textSize>9</textSize>
  320.         <textStyle>plain</textStyle>
  321.         <textHeight>12</textHeight>
  322.         <name>bookmark1</name>
  323.         <script></script>
  324.     </part>
  325.     <part>
  326.         <id>18</id>
  327.         <type>field</type>
  328.         <visible> <false /> </visible>
  329.         <dontWrap> <false /> </dontWrap>
  330.         <dontSearch> <false /> </dontSearch>
  331.         <sharedText> <false /> </sharedText>
  332.         <fixedLineHeight> <true /> </fixedLineHeight>
  333.         <autoTab> <false /> </autoTab>
  334.         <lockText> <true /> </lockText>
  335.         <rect>
  336.             <left>331</left>
  337.             <top>326</top>
  338.             <right>364</right>
  339.             <bottom>340</bottom>
  340.         </rect>
  341.         <style>rectangle</style>
  342.         <autoSelect> <false /> </autoSelect>
  343.         <showLines> <false /> </showLines>
  344.         <wideMargins> <false /> </wideMargins>
  345.         <multipleLines> <false /> </multipleLines>
  346.         <reservedFamily> 0 </reservedFamily>
  347.         <titleWidth>0</titleWidth>
  348.         <icon>0</icon>
  349.         <textAlign>center</textAlign>
  350.         <font>Monaco</font>
  351.         <textSize>9</textSize>
  352.         <textStyle>plain</textStyle>
  353.         <textHeight>12</textHeight>
  354.         <name>bookmark2</name>
  355.         <script></script>
  356.     </part>
  357.     <part>
  358.         <id>13</id>
  359.         <type>button</type>
  360.         <visible> <false /> </visible>
  361.         <reserved5> 0 </reserved5>
  362.         <reserved4> 0 </reserved4>
  363.         <reserved3> 0 </reserved3>
  364.         <reserved2> 0 </reserved2>
  365.         <reserved1> 0 </reserved1>
  366.         <enabled> <true /> </enabled>
  367.         <rect>
  368.             <left>336</left>
  369.             <top>300</top>
  370.             <right>362</right>
  371.             <bottom>339</bottom>
  372.         </rect>
  373.         <style>transparent</style>
  374.         <showName> <false /> </showName>
  375.         <highlight> <false /> </highlight>
  376.         <autoHighlight> <false /> </autoHighlight>
  377.         <sharedHighlight> <true /> </sharedHighlight>
  378.         <family>0</family>
  379.         <titleWidth>0</titleWidth>
  380.         <icon>6179</icon>
  381.         <textAlign>center</textAlign>
  382.         <font>Chicago</font>
  383.         <textSize>12</textSize>
  384.         <textStyle>plain</textStyle>
  385.         <name>bookmark2</name>
  386.         <script>on mouseUpglobal bookmark1global bookmark2if the id of this card is not bookmark2 thenif (the name of this card is not the name of card "contents")¬¨and (the id of this card is not bookmark1) thenglobal xrefdepthadd 1 to xrefdepthpush cardshow background button "return"end ifvisual effect iris opengo bookmark2end ifend mouseUp</script>
  387.     </part>
  388.     <part>
  389.         <id>12</id>
  390.         <type>button</type>
  391.         <visible> <false /> </visible>
  392.         <reserved5> 0 </reserved5>
  393.         <reserved4> 0 </reserved4>
  394.         <reserved3> 0 </reserved3>
  395.         <reserved2> 0 </reserved2>
  396.         <reserved1> 0 </reserved1>
  397.         <enabled> <true /> </enabled>
  398.         <rect>
  399.             <left>366</left>
  400.             <top>300</top>
  401.             <right>392</right>
  402.             <bottom>339</bottom>
  403.         </rect>
  404.         <style>transparent</style>
  405.         <showName> <false /> </showName>
  406.         <highlight> <false /> </highlight>
  407.         <autoHighlight> <false /> </autoHighlight>
  408.         <sharedHighlight> <true /> </sharedHighlight>
  409.         <family>0</family>
  410.         <titleWidth>0</titleWidth>
  411.         <icon>6179</icon>
  412.         <textAlign>center</textAlign>
  413.         <font>Chicago</font>
  414.         <textSize>12</textSize>
  415.         <textStyle>plain</textStyle>
  416.         <name>bookmark1</name>
  417.         <script>on mouseUpglobal bookmark1global bookmark2if the id of this card is not bookmark1 thenif (the name of this card is not the name of card "contents")¬¨and (the id of this card is not bookmark2) thenglobal xrefdepthadd 1 to xrefdepthpush cardshow background button "return"end ifvisual effect iris opengo bookmark1end ifend mouseUp</script>
  418.     </part>
  419.     <part>
  420.         <id>20</id>
  421.         <type>field</type>
  422.         <visible> <false /> </visible>
  423.         <dontWrap> <false /> </dontWrap>
  424.         <dontSearch> <false /> </dontSearch>
  425.         <sharedText> <false /> </sharedText>
  426.         <fixedLineHeight> <true /> </fixedLineHeight>
  427.         <autoTab> <false /> </autoTab>
  428.         <lockText> <true /> </lockText>
  429.         <rect>
  430.             <left>54</left>
  431.             <top>309</top>
  432.             <right>321</right>
  433.             <bottom>324</bottom>
  434.         </rect>
  435.         <style>rectangle</style>
  436.         <autoSelect> <false /> </autoSelect>
  437.         <showLines> <false /> </showLines>
  438.         <wideMargins> <false /> </wideMargins>
  439.         <multipleLines> <false /> </multipleLines>
  440.         <reservedFamily> 0 </reservedFamily>
  441.         <titleWidth>0</titleWidth>
  442.         <icon>0</icon>
  443.         <textAlign>left</textAlign>
  444.         <font>Palatino</font>
  445.         <textSize>10</textSize>
  446.         <textStyle>plain</textStyle>
  447.         <textHeight>13</textHeight>
  448.         <name>footnote1</name>
  449.         <script>on mouseUpget line 1 of field "card id"if it is not "" thenglobal xrefdepthadd 1 to xrefdepthpush cardshow background button "return"visual iris openget last word of meput "" into first char of itgo card itend ifend mouseUp</script>
  450.     </part>
  451.     <part>
  452.         <id>23</id>
  453.         <type>field</type>
  454.         <visible> <false /> </visible>
  455.         <dontWrap> <false /> </dontWrap>
  456.         <dontSearch> <false /> </dontSearch>
  457.         <sharedText> <false /> </sharedText>
  458.         <fixedLineHeight> <true /> </fixedLineHeight>
  459.         <autoTab> <false /> </autoTab>
  460.         <lockText> <true /> </lockText>
  461.         <rect>
  462.             <left>54</left>
  463.             <top>325</top>
  464.             <right>321</right>
  465.             <bottom>340</bottom>
  466.         </rect>
  467.         <style>rectangle</style>
  468.         <autoSelect> <false /> </autoSelect>
  469.         <showLines> <false /> </showLines>
  470.         <wideMargins> <false /> </wideMargins>
  471.         <multipleLines> <false /> </multipleLines>
  472.         <reservedFamily> 0 </reservedFamily>
  473.         <titleWidth>0</titleWidth>
  474.         <icon>0</icon>
  475.         <textAlign>left</textAlign>
  476.         <font>Palatino</font>
  477.         <textSize>10</textSize>
  478.         <textStyle>plain</textStyle>
  479.         <textHeight>13</textHeight>
  480.         <name>footnote2</name>
  481.         <script>on mouseUpget line 2 of field "card id"if it is not "" thenglobal xrefdepthadd 1 to xrefdepthpush cardshow background button "return"visual iris openget last word of meput "" into first char of itgo card itend ifend mouseUp</script>
  482.     </part>
  483.     <part>
  484.         <id>30</id>
  485.         <type>button</type>
  486.         <visible> <false /> </visible>
  487.         <reserved5> 0 </reserved5>
  488.         <reserved4> 0 </reserved4>
  489.         <reserved3> 0 </reserved3>
  490.         <reserved2> 0 </reserved2>
  491.         <reserved1> 0 </reserved1>
  492.         <enabled> <true /> </enabled>
  493.         <rect>
  494.             <left>1</left>
  495.             <top>21</top>
  496.             <right>510</right>
  497.             <bottom>340</bottom>
  498.         </rect>
  499.         <style>transparent</style>
  500.         <showName> <false /> </showName>
  501.         <highlight> <false /> </highlight>
  502.         <autoHighlight> <false /> </autoHighlight>
  503.         <sharedHighlight> <true /> </sharedHighlight>
  504.         <family>0</family>
  505.         <titleWidth>0</titleWidth>
  506.         <icon>0</icon>
  507.         <textAlign>center</textAlign>
  508.         <font>Chicago</font>
  509.         <textSize>12</textSize>
  510.         <textStyle>plain</textStyle>
  511.         <name>beep</name>
  512.         <script>on mouseUpbeepend mouseUp</script>
  513.     </part>
  514.     <part>
  515.         <id>26</id>
  516.         <type>button</type>
  517.         <visible> <false /> </visible>
  518.         <reserved5> 0 </reserved5>
  519.         <reserved4> 0 </reserved4>
  520.         <reserved3> 0 </reserved3>
  521.         <reserved2> 0 </reserved2>
  522.         <reserved1> 0 </reserved1>
  523.         <enabled> <true /> </enabled>
  524.         <rect>
  525.             <left>364</left>
  526.             <top>26</top>
  527.             <right>467</right>
  528.             <bottom>43</bottom>
  529.         </rect>
  530.         <style>roundrect</style>
  531.         <showName> <true /> </showName>
  532.         <highlight> <false /> </highlight>
  533.         <autoHighlight> <true /> </autoHighlight>
  534.         <sharedHighlight> <true /> </sharedHighlight>
  535.         <family>0</family>
  536.         <titleWidth>0</titleWidth>
  537.         <icon>0</icon>
  538.         <textAlign>center</textAlign>
  539.         <font>Chicago</font>
  540.         <textSize>12</textSize>
  541.         <textStyle>plain</textStyle>
  542.         <name>Done Changes</name>
  543.         <script>on mouseUphide background button "beep"hide background button "Topic"hide background button "Card ID (optional)"hide field "topic"hide field "card id"hide background button "Done Changes"show background button "Add Footnote"updateFootnotes (the number of this card)send showFootnotesend mouseUp</script>
  544.     </part>
  545.     <part>
  546.         <id>25</id>
  547.         <type>button</type>
  548.         <visible> <false /> </visible>
  549.         <reserved5> 0 </reserved5>
  550.         <reserved4> 0 </reserved4>
  551.         <reserved3> 0 </reserved3>
  552.         <reserved2> 0 </reserved2>
  553.         <reserved1> 0 </reserved1>
  554.         <enabled> <true /> </enabled>
  555.         <rect>
  556.             <left>364</left>
  557.             <top>26</top>
  558.             <right>466</right>
  559.             <bottom>43</bottom>
  560.         </rect>
  561.         <style>roundrect</style>
  562.         <showName> <true /> </showName>
  563.         <highlight> <false /> </highlight>
  564.         <autoHighlight> <true /> </autoHighlight>
  565.         <sharedHighlight> <true /> </sharedHighlight>
  566.         <family>0</family>
  567.         <titleWidth>0</titleWidth>
  568.         <icon>0</icon>
  569.         <textAlign>center</textAlign>
  570.         <font>Chicago</font>
  571.         <textSize>12</textSize>
  572.         <textStyle>plain</textStyle>
  573.         <name>Add Footnote</name>
  574.         <script>on mouseUpshow background button "beep"show background button "Topic"show background button "Card ID (optional)"show field "topic"show field "card id"hide background button "Add Footnote"show background button "Done Changes"end mouseUp</script>
  575.     </part>
  576.     <part>
  577.         <id>28</id>
  578.         <type>button</type>
  579.         <visible> <false /> </visible>
  580.         <reserved5> 0 </reserved5>
  581.         <reserved4> 0 </reserved4>
  582.         <reserved3> 0 </reserved3>
  583.         <reserved2> 0 </reserved2>
  584.         <reserved1> 0 </reserved1>
  585.         <enabled> <true /> </enabled>
  586.         <rect>
  587.             <left>51</left>
  588.             <top>111</top>
  589.             <right>318</right>
  590.             <bottom>133</bottom>
  591.         </rect>
  592.         <style>rectangle</style>
  593.         <showName> <true /> </showName>
  594.         <highlight> <false /> </highlight>
  595.         <autoHighlight> <false /> </autoHighlight>
  596.         <sharedHighlight> <true /> </sharedHighlight>
  597.         <family>0</family>
  598.         <titleWidth>0</titleWidth>
  599.         <icon>0</icon>
  600.         <textAlign>center</textAlign>
  601.         <font>Chicago</font>
  602.         <textSize>12</textSize>
  603.         <textStyle>plain</textStyle>
  604.         <name>Topic</name>
  605.         <script></script>
  606.     </part>
  607.     <part>
  608.         <id>31</id>
  609.         <type>button</type>
  610.         <visible> <false /> </visible>
  611.         <reserved5> 0 </reserved5>
  612.         <reserved4> 0 </reserved4>
  613.         <reserved3> 0 </reserved3>
  614.         <reserved2> 0 </reserved2>
  615.         <reserved1> 0 </reserved1>
  616.         <enabled> <true /> </enabled>
  617.         <rect>
  618.             <left>317</left>
  619.             <top>111</top>
  620.             <right>448</right>
  621.             <bottom>133</bottom>
  622.         </rect>
  623.         <style>rectangle</style>
  624.         <showName> <true /> </showName>
  625.         <highlight> <false /> </highlight>
  626.         <autoHighlight> <false /> </autoHighlight>
  627.         <sharedHighlight> <true /> </sharedHighlight>
  628.         <family>0</family>
  629.         <titleWidth>0</titleWidth>
  630.         <icon>0</icon>
  631.         <textAlign>center</textAlign>
  632.         <font>Chicago</font>
  633.         <textSize>12</textSize>
  634.         <textStyle>plain</textStyle>
  635.         <name>Card ID (optional)</name>
  636.         <script></script>
  637.     </part>
  638.     <part>
  639.         <id>27</id>
  640.         <type>field</type>
  641.         <visible> <false /> </visible>
  642.         <dontWrap> <false /> </dontWrap>
  643.         <dontSearch> <false /> </dontSearch>
  644.         <sharedText> <false /> </sharedText>
  645.         <fixedLineHeight> <true /> </fixedLineHeight>
  646.         <autoTab> <false /> </autoTab>
  647.         <lockText> <false /> </lockText>
  648.         <rect>
  649.             <left>51</left>
  650.             <top>132</top>
  651.             <right>318</right>
  652.             <bottom>162</bottom>
  653.         </rect>
  654.         <style>rectangle</style>
  655.         <autoSelect> <false /> </autoSelect>
  656.         <showLines> <false /> </showLines>
  657.         <wideMargins> <false /> </wideMargins>
  658.         <multipleLines> <false /> </multipleLines>
  659.         <reservedFamily> 0 </reservedFamily>
  660.         <titleWidth>0</titleWidth>
  661.         <icon>0</icon>
  662.         <textAlign>left</textAlign>
  663.         <font>Monaco</font>
  664.         <textSize>9</textSize>
  665.         <textStyle>plain</textStyle>
  666.         <textHeight>12</textHeight>
  667.         <name>topic</name>
  668.         <script></script>
  669.     </part>
  670.     <part>
  671.         <id>29</id>
  672.         <type>field</type>
  673.         <visible> <false /> </visible>
  674.         <dontWrap> <false /> </dontWrap>
  675.         <dontSearch> <false /> </dontSearch>
  676.         <sharedText> <false /> </sharedText>
  677.         <fixedLineHeight> <true /> </fixedLineHeight>
  678.         <autoTab> <false /> </autoTab>
  679.         <lockText> <false /> </lockText>
  680.         <rect>
  681.             <left>317</left>
  682.             <top>132</top>
  683.             <right>448</right>
  684.             <bottom>162</bottom>
  685.         </rect>
  686.         <style>rectangle</style>
  687.         <autoSelect> <false /> </autoSelect>
  688.         <showLines> <false /> </showLines>
  689.         <wideMargins> <false /> </wideMargins>
  690.         <multipleLines> <false /> </multipleLines>
  691.         <reservedFamily> 0 </reservedFamily>
  692.         <titleWidth>0</titleWidth>
  693.         <icon>0</icon>
  694.         <textAlign>left</textAlign>
  695.         <font>Monaco</font>
  696.         <textSize>9</textSize>
  697.         <textStyle>plain</textStyle>
  698.         <textHeight>12</textHeight>
  699.         <name>card id</name>
  700.         <script></script>
  701.     </part>
  702.     <part>
  703.         <id>33</id>
  704.         <type>button</type>
  705.         <visible> <false /> </visible>
  706.         <reserved5> 0 </reserved5>
  707.         <reserved4> 0 </reserved4>
  708.         <reserved3> 0 </reserved3>
  709.         <reserved2> 0 </reserved2>
  710.         <reserved1> 0 </reserved1>
  711.         <enabled> <true /> </enabled>
  712.         <rect>
  713.             <left>356</left>
  714.             <top>44</top>
  715.             <right>475</right>
  716.             <bottom>61</bottom>
  717.         </rect>
  718.         <style>roundrect</style>
  719.         <showName> <true /> </showName>
  720.         <highlight> <false /> </highlight>
  721.         <autoHighlight> <true /> </autoHighlight>
  722.         <sharedHighlight> <true /> </sharedHighlight>
  723.         <family>0</family>
  724.         <titleWidth>0</titleWidth>
  725.         <icon>0</icon>
  726.         <textAlign>center</textAlign>
  727.         <font>Chicago</font>
  728.         <textSize>12</textSize>
  729.         <textStyle>plain</textStyle>
  730.         <name>Update Page Nos</name>
  731.         <script>on mouseUpglobal deletedCardhide background button "Update Page Nos"put the userLevel into currentLevelset the userLevel to 5set lockScreen to truedoMenu "New Field"put the number of card fields into numFieldschoose browse toolset the style of card field numFields to shadowput "Updating page numbers." & numToChar(13) & "Please wait..."¬¨into card field numFieldsset lockScreen to falsesend updatePageNumberssend showFootnotesupdateBookmarks (the number of this card)-- Actually, to be really consistent we should update ALL the-- bookmarks here, so that when you Print Report they are all-- correct.  However, bookmarks are not that important.send showBookmarkssend updateContents to card "contents"set lockScreen to truechoose field toolclick at the loc of card field numFieldsdoMenu "Clear Field"choose browse toolset lockScreen to falseset the userLevel to currentLevelput "" into deletedCardbeepend mouseUp</script>
  732.     </part>
  733.     <part>
  734.         <id>34</id>
  735.         <type>button</type>
  736.         <visible> <false /> </visible>
  737.         <reserved5> 0 </reserved5>
  738.         <reserved4> 0 </reserved4>
  739.         <reserved3> 0 </reserved3>
  740.         <reserved2> 0 </reserved2>
  741.         <reserved1> 0 </reserved1>
  742.         <enabled> <true /> </enabled>
  743.         <rect>
  744.             <left>11</left>
  745.             <top>1</top>
  746.             <right>111</right>
  747.             <bottom>23</bottom>
  748.         </rect>
  749.         <style>roundrect</style>
  750.         <showName> <true /> </showName>
  751.         <highlight> <false /> </highlight>
  752.         <autoHighlight> <true /> </autoHighlight>
  753.         <sharedHighlight> <true /> </sharedHighlight>
  754.         <family>0</family>
  755.         <titleWidth>0</titleWidth>
  756.         <icon>0</icon>
  757.         <textAlign>center</textAlign>
  758.         <font>Chicago</font>
  759.         <textSize>12</textSize>
  760.         <textStyle>plain</textStyle>
  761.         <name>monaco 9</name>
  762.         <script>on mouseleavedomenu "  9"domenu monacoend mouseleave</script>
  763.     </part>
  764.     <part>
  765.         <id>35</id>
  766.         <type>button</type>
  767.         <visible> <false /> </visible>
  768.         <reserved5> 0 </reserved5>
  769.         <reserved4> 0 </reserved4>
  770.         <reserved3> 0 </reserved3>
  771.         <reserved2> 0 </reserved2>
  772.         <reserved1> 0 </reserved1>
  773.         <enabled> <true /> </enabled>
  774.         <rect>
  775.             <left>114</left>
  776.             <top>1</top>
  777.             <right>214</right>
  778.             <bottom>23</bottom>
  779.         </rect>
  780.         <style>roundrect</style>
  781.         <showName> <true /> </showName>
  782.         <highlight> <false /> </highlight>
  783.         <autoHighlight> <true /> </autoHighlight>
  784.         <sharedHighlight> <true /> </sharedHighlight>
  785.         <family>0</family>
  786.         <titleWidth>0</titleWidth>
  787.         <icon>0</icon>
  788.         <textAlign>center</textAlign>
  789.         <font>Chicago</font>
  790.         <textSize>12</textSize>
  791.         <textStyle>plain</textStyle>
  792.         <name>underline</name>
  793.         <script>on mouseleavedomenu underlineend mouseleave</script>
  794.     </part>
  795.     <part>
  796.         <id>37</id>
  797.         <type>button</type>
  798.         <visible> <false /> </visible>
  799.         <reserved5> 0 </reserved5>
  800.         <reserved4> 0 </reserved4>
  801.         <reserved3> 0 </reserved3>
  802.         <reserved2> 0 </reserved2>
  803.         <reserved1> 0 </reserved1>
  804.         <enabled> <true /> </enabled>
  805.         <rect>
  806.             <left>217</left>
  807.             <top>1</top>
  808.             <right>317</right>
  809.             <bottom>23</bottom>
  810.         </rect>
  811.         <style>roundrect</style>
  812.         <showName> <true /> </showName>
  813.         <highlight> <false /> </highlight>
  814.         <autoHighlight> <true /> </autoHighlight>
  815.         <sharedHighlight> <true /> </sharedHighlight>
  816.         <family>0</family>
  817.         <titleWidth>0</titleWidth>
  818.         <icon>0</icon>
  819.         <textAlign>center</textAlign>
  820.         <font>Chicago</font>
  821.         <textSize>12</textSize>
  822.         <textStyle>plain</textStyle>
  823.         <name>bold</name>
  824.         <script>on mouseleavedomenu boldend mouseleave</script>
  825.     </part>
  826.     <name>page</name>
  827.     <script>on openCardupdateBookmarks (the number of this card)send showBookmarkssend showFootnotespass openCardend openCardon showBookmarksglobal bookmark1global bookmark2get the id of this cardif it is bookmark1 or it is bookmark2 thenshow background button "mark"elsehide background button "mark"end ifend showBookmarkson showFootnotesget field "footnote1"if it is not "" thenshow field "footnote1"elsehide field "footnote1"end ifget field "footnote2"if it is not "" thenshow field "footnote2"elsehide field "footnote2"end ifend showFootnoteson arrowKey choiceput false into dontScrollif visible of background button "Done Changes" is true thenbeepput true into dontScrollend ifif (the name of this card is the name of card "contents") thenif visible of card button "Done Changes" is true thenbeepput true into dontScrollend ifend ifif dontScroll is false thenif choice is "left" thenif (the name of this card is the name of card "contents") thenvisual effect wipe right to blackvisual wipe rightelsevisual scroll rightend ifelsevisual scroll leftend ifpass arrowKeyend ifend arrowKeyon updatePageNumbersset cursor to watchput the number of card "contents" into presentCardrepeat for the number of cards in this backgroundput presentCard into field "page no" of card presentCardupdateFootnotes presentCardadd 1 to presentCardend repeatend updatePageNumberson updateFootnotes presentCardglobal deletedCardget line 1 of field "topic" of card presentCardput it into field "footnote1" of card presentCardif it is not "" thenget line 1 of field "card id" of card presentCardif it is not "" thenif it is word 3 of deletedCard thenput "" into line 1 of field "card id" of card presentCardelseget the number of card id itput " - p" & it after field "footnote1" of card presentCardend ifend ifend ifget line 2 of field "topic" of card presentCardput it into field "footnote2" of card presentCardif it is not "" thenget line 2 of field "card id" of card presentCardif it is not "" thenif it is word 3 of deletedCard thenput "" into line 2 of field "card id" of card presentCardelseget the number of card id itput " - p" & it after field "footnote2" of card presentCardend ifend ifend ifend updateFootnoteson updateBookmarks presentCardglobal deletedCardglobal bookmark1global bookmark2if bookmark1 is not 0 thenif bookmark1 is deletedCard thenput 0 into bookmark1hide background button "bookmark1"hide field "bookmark1"put "" into field "bookmark1" of card presentCardelseget number of bookmark1put "p" & it into field "bookmark1" of card presentCardend ifelseput "" into field "bookmark1" of card presentCardend ifif bookmark2 is not 0 thenif bookmark2 is deletedCard thenput 0 into bookmark2hide background button "bookmark2"hide field "bookmark2"put "" into field "bookmark2" of card presentCardelseget number of bookmark2put "p" & it into field "bookmark2" of card presentCardend ifelseput "" into field "bookmark2" of card presentCardend ifend updateBookmarkson idleglobal cardJustPastedglobal cardJustDeletedglobal deletedCardglobal stackJustPrintedif stackJustPrinted thenput false into stackJustPrintedsend showFootnotespop cardelseif cardJustDeleted thenput false into cardJustDeletedupdateBookmarks (the number of this card)send showBookmarkssend showFootnoteselseif cardJustPasted thenput false into cardJustPastedset lockScreen to truepush cardgo card "contents"get the id of this backgroundpop cardset lockScreen to falseif it is not the id of this background then-- i.e. this is not a true "page" cardanswer "Background has changed; delete this card!" with "OK"elseif the id of this card is deletedCard thenput "" into deletedCardend ifend ifend ifend ifend ifpass idleend idleon openBackgroundglobal xrefdepthif xrefdepth is 0 thenhide background button "return"end ifend openBackground</script>
  828. </background>
  829.